package org.brisling.oa.domain;


import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.inf.BaseFlowDomainInf;
import org.brisling.common.ConstSysParam;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 
 * <p>Title: OAMarryLeave</p>
 * <p>Description:婚假申请实体类 </p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2017年3月5日 上午10:45:58
 */
 


//定义实体annotation
@Entity


//定义模块代码及数据表名称
@Table(name=ConstSysParam.MODULE_MARRY_LEAVE)




public class OAMarryLeave extends BaseOADomain implements BaseFlowDomainInf,BaseOADomainInf{

	
	

	//年龄
	private Long age;

	//性别
	private String sex;

	
	//参加工作时间
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date start_work_time;

	//职务
	private String job;
	
	//联系电话
	private String contact_number;

	//联系地址
	
	private String address;

	//请假天数
	
	private String leave_days;

	//请假开始时间
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date start_time;
	
	//请假结束时间
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date end_time;
	
	//请假事由    父类（apply_content）
	
	//所在科室审核意见     父类（dept_content）
	
	//主管科室审核意见     父类（biz_content）
	
	//分管领导审核意见     父类（chargeLeader_content）
	
	//主管领导审核意见     父类（directLeader_content）
	
	//计生办审核意见
	private String family_contentnt;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	private Date ofamily_time;
		
	@Column(length=50)
	private String family_name;
		
	private Long family_id;

	public Long getAge() {
		return age;
	}

	public void setAge(Long age) {
		this.age = age;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getStart_work_time() {
		return start_work_time;
	}

	public void setStart_work_time(Date start_work_time) {
		this.start_work_time = start_work_time;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getContact_number() {
		return contact_number;
	}

	public void setContact_number(String contact_number) {
		this.contact_number = contact_number;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLeave_days() {
		return leave_days;
	}

	public void setLeave_days(String leave_days) {
		this.leave_days = leave_days;
	}

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}


	public String getFamily_contentnt() {
		return family_contentnt;
	}

	public void setFamily_contentnt(String family_contentnt) {
		this.family_contentnt = family_contentnt;
	}

	public Date getOfamily_time() {
		return ofamily_time;
	}

	public void setOfamily_time(Date ofamily_time) {
		this.ofamily_time = ofamily_time;
	}

	public String getFamily_name() {
		return family_name;
	}

	public void setFamily_name(String family_name) {
		this.family_name = family_name;
	}

	public Long getFamily_id() {
		return family_id;
	}

	public void setFamily_id(Long family_id) {
		this.family_id = family_id;
	}
	
	
	
}
